package com.example.demo2.entity.DTO;

import com.example.demo2.entity.AddressCity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class AddressTown {

    /**
     * 主键
     */
    private Integer id;
    /**
     * 区县编码
     */
    private Integer code;
    /**
     * 区县名称
     */
    private String name;
    /**
     * 所属城市编码
     */
    private Integer citycode;
    /**
     * 城市表
     */
    private AddressCity addressCity;
}